package com.example.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {
    private Boolean success;
    private String message;
    private T data;

    public Result(Boolean success, String message) {
        this.success = success;
        this.message = message;
    }
}

